package com.share.dao.oa.org;

import java.util.LinkedHashMap;
import java.util.List;

import com.share.bean.oa.org.Department;
import com.share.commons.base.query.PageModel;

/**
 * <p>Title：OA-部门</p>
 * <p>Description：</p>
 * @Author：杨浩泉
 * @Date：2010-5-1
 */
public interface DepartmentDao {

	public void saveDeptDao(Department dept) throws RuntimeException ;
	
	public void deleteDeptDao(Object[] dept) throws RuntimeException ;
	
	public void updateDeptDao(Department dept) throws RuntimeException ;
	
	public Department loadByIdDeptDao(String id) throws RuntimeException ;
	
	public PageModel<Department> getScrollDeptDao(String hql,String whereHQL,List<Object> param,int firstResult,int maxResult,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	public List<Department> findDeptDao(String hql,String whereHQL,List<Object> param,LinkedHashMap<String,String> orderby) throws RuntimeException ;
	
}
